{
	"parent": "lits:end/draconic_equipment",
	"display": {
		"icon": { "item": "draconicevolution:chaos_shard" },
		"title": { "translate": "advancements.lits.end.chaos_dragon.title" },
		"description": { "translate": "advancements.lits.end.chaos_dragon.description" },
		"frame": "goal"
	},
	"criteria": {
		"dragon": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [{
					"item": "draconicevolution:chaos_shard"
				}],
				"player": {
					"player": {
						"advancements": {
							"lits:technical/start_in_overworld": true
						}
					}
				}
			}
		},
		"overworld_from_end": {
			"trigger": "minecraft:tick",
			"conditions": {
				"player": {
					"location": {
						"dimension": "minecraft:overworld"
					},
					"player": {
						"advancements": {
							"lits:technical/start_in_end": true
						}
					}
				}
			}
		}
	},
	"rewards": {
		"loot": [ "lits:modules" ]
	},
	"requirements": [
		[
			"overworld_from_end",
			"dragon"
		]
	]
}
